package com.UnionPayCenter.mapper;

import com.UnionPayCenter.account.entity.PayBill;

import java.util.List;

public interface PayBillMapper {

    int deleteByPrimaryKey(String sn);

    int insert(PayBill record);

    PayBill selectByPrimaryKey(String sn);

    /**
     * 根据条件查询支付记录
     *
     * @param condition 查询条件
     * @return 支付记录
     */
    List<PayBill> selectByCondition(PayBill condition);

    int updateByPrimaryKeySelective(PayBill record);

}